import request from '@/utils/request'

// 查询【请填写功能名称】列表
export function listQjzhaoming(query) {
  return request({
    url: '/biz/qjzhaoming/list',
    method: 'get',
    params: query
  })
}
//demo
export function getlevelByTunnelName(query) {
  return request({
    url: '/biz/qjzhaoming/level',
    method: 'get',
    params: query
  })
}
// 查询【请填写功能名称】详细
export function getQjzhaoming(id) {
  return request({
    url: '/biz/qjzhaoming/' + id,
    method: 'get'
  })
}

// 新增【请填写功能名称】
export function addQjzhaoming(data) {
  return request({
    url: '/biz/qjzhaoming',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export function updateQjzhaoming(data) {
  return request({
    url: '/biz/qjzhaoming',
    method: 'put',
    data: data
  })
}

// 删除【请填写功能名称】
export function delQjzhaoming(id) {
  return request({
    url: '/biz/qjzhaoming/' + id,
    method: 'delete'
  })
}
export function exportQjzhaoming(query) {
  return request({
    url: '/biz/qjzhaoming/export',
    method: 'get',
    params: query
  })
}
